<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html" indent="yes"/>
    <xsl:template match="/">
        <xsl:for-each select="//category">
            <div class="list_head">
                <h3>
                    <a href="{concat('../user/ProductByCateg.do?id=', @id)}">
                        <xsl:value-of select="." />
                    </a>
                </h3>
            </div>
        </xsl:for-each>
    </xsl:template>
</xsl:stylesheet>